﻿using AutoMapper;
using GlennQuigmire.API.Application.Commands;
using IMES.Common.Domain.DariusModel;
using IMES.Common.Domain.SirModel;

namespace GlennQuigmire.API.Application.Automapper
{
    public class AutoMapperProfile:Profile
    {
        public AutoMapperProfile()
        {
            CreateMap<DefectiveCreateCommand, Defectives>().ReverseMap();
            CreateMap<ProductCreateCommand, Product>().ReverseMap();
            CreateMap<MaterialCreateCommand, Material>().ReverseMap();
            CreateMap<InboundOrderCreateCommand, InboundOrder>().ReverseMap();
        }
    }
}
